package com.ruoyi.web.controller.system.Fdongbei;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.Fdongbei.domain.TbMmI;
import com.ruoyi.system.Fdongbei.service.ITbMmIService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

import static com.ruoyi.common.core.domain.AjaxResult.success;
import static com.ruoyi.common.core.domain.R.ok;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author fufeng
 * @since 2024-12-05
 */
@RestController
@RequestMapping("/system/Fdongbei/tb-mm-i")
public class TbMmIController {

    @Resource
    ITbMmIService iTbMmIService;
    @GetMapping("/selectBySap")
    public AjaxResult selectBySap(String sap){
        List<TbMmI> tbMmHList =  iTbMmIService.selectBySapI(sap);
        return success(tbMmHList);
    }


}

